<?php
require_once("../common/config.php");
$conn = new connectDb();

$uId = $_POST['uId'];

$query = mysql_query("SELECT `login_status` FROM `food_user_basic` WHERE `id` = '$uId'") or die(mysql_error());
$row = mysql_fetch_array($query,MYSQL_ASSOC);
if($row['login_status'] == 0)
{
	echo 'no';
}else
{
	echo 'yes';
}
?>